package com.jiang.books.domain.metamodel;

import java.math.BigInteger;
import java.util.Date;

import javax.persistence.metamodel.SetAttribute;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;

import org.joda.time.DateTime;

import com.jiang.books.domain.Author;
import com.jiang.books.domain.Award;
import com.jiang.books.domain.Book;

@StaticMetamodel(Book.class)
public abstract class Book_ {

	public static volatile SingularAttribute<Book, BigInteger> id;
	public static volatile SingularAttribute<Book, Author> author;
	public static volatile SingularAttribute<Book, String> title;
	public static volatile SingularAttribute<Book, String> description;
	public static volatile SingularAttribute<Book, String> bookType;
	public static volatile SingularAttribute<Book, Date> publishedDate;
	public static volatile SingularAttribute<Book, Integer> version;
	// Audit fields
	public static volatile SingularAttribute<Book, String> createdBy;
	public static volatile SingularAttribute<Book, DateTime> createdDate;
	public static volatile SingularAttribute<Book, String> lastModifiedBy;
	public static volatile SingularAttribute<Book, DateTime> lastModifiedDate;
	
	public static volatile SetAttribute<Book, Award> awards;
}

